/*
	数组指针的使用
*/

#include <stdio.h>

int main(){
		int arr[5] = {11,22,33,44,55};
		int i;
		for(i = 0;i < 5;i++){
			printf("&arr[%d] = %p\n",i,&arr[i]);
			}
		printf("arr = %p \n",arr);
		printf("&arr = %p \n",&arr);
		//指向第二个元素
		printf("arr = %p \n",arr + 1);
		//指向整个数组的后面
		printf("&arr = %p \n",&arr + 1);
		int (*pArr)[5] = &arr;
		printf("*pArr[2] = %d\n",(*pArr)[2]);
		printf("*(*pArr+2) = %d \n",*(*pArr+2));
		return 0;
	}
